package com.daiyang.lottery.common.errorcode;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class ErrorCode {
    // 错误码
    private Integer code;

    // 错误信息
    private String msg;

    public ErrorCode(Integer code, String msg ) {
        this.msg= msg;
        this.code = code;
    }
}
